/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.dao;
import com.tesam.gedeon.entity.SystemUser;
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface SystemUserDao {
    public int save (SystemUser User);
    
    public int delete(int id);
    
    public int update(SystemUser User);
    
    public void updateSession(SystemUser User);
     
    public List<SystemUser> getSession(SystemUser User);
    
    public SystemUser getById(int id);
    
    public List<SystemUser> getAll();
    
    public List<SystemUser> getAllByLimit(int startLimit , int endLimit ,String dataToSort , String directionOfOrder);
    
    public List<SystemUser> searchByName(SystemUser User , int startLimit , int endLimit);
    
    public List<SystemUser> login(SystemUser User);
    
    public void logout(SystemUser User);
    
    public List<SystemUser> getModule(SystemUser User);
    
    public List<SystemUser> getModuleSearch(SystemUser User);
    
    public List<SystemUser> getParentTab();
    
    public List<SystemUser> loginByCookie(SystemUser User);
    
    public List<SystemUser> getModuleData(SystemUser User);
    
    public List<SystemUser> getSearchModuleData(SystemUser User);
    
    public List<SystemUser> getParentTabSearch(SystemUser user);
    
}
